package com.suse.service;

import com.suse.dto.EmployeeDto;
import com.suse.pojo.Employee;
import com.suse.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;

public interface EmployeeService {
    ResultVo update(Employee u, HttpServletRequest request);
    ResultVo delete(Integer id);
    ResultVo search(EmployeeDto dto);
    ResultVo add(Employee u);
    ResultVo login(Employee u,HttpServletRequest request);
    ResultVo sendCode(String email,HttpServletRequest request);
    ResultVo verify(String code,HttpServletRequest request);
    ResultVo fileUpload(MultipartFile file, HttpServletRequest request);
}
